Skip to content

Specify RBS requirement during export command - #813

Merged
KaanOzkan merged 1 commit into
mainfrom
ko/fix-export
Nov 5, 2025
Merged

KaanOzkan merged 1 commit into
mainfrom
ko/fix-export

Conversation

@KaanOzkan

@KaanOzkan KaanOzkan commented Nov 5, 2025 •

Copy link
Copy Markdown
Contributor

When the gem we run the export command with depends on rbi Bundler picks tapioca v0.16.11 instead of the latest one. This now started erroring due to the T::Module error with the latest sorbet-runtime.

@paracycle pointed out that this is due to rbs gem version being a pre-release. Current Spoom already depends on this pre-release version and we can just make that explicit in the Gemfile of the export command. This way bundler will pick the correct tapioca version.

@KaanOzkan KaanOzkan changed the title Specify tapioca version constraint during export cmd Specify RBS requirement during export command Nov 5, 2025
@KaanOzkan
KaanOzkan marked this pull request as ready for review November 5, 2025 20:27
@KaanOzkan
KaanOzkan requested a review from a team as a code owner November 5, 2025 20:27
@KaanOzkan
KaanOzkan merged commit f9a369b into main Nov 5, 2025
8 checks passed
@KaanOzkan
KaanOzkan deleted the ko/fix-export branch November 5, 2025 21:02
Comment thread lib/spoom/cli/srb/sigs.rb
tapioca_context.write!("Gemfile", <<~RB)
source "https://rubygems.org"

gem "rbs", ">= 4.0.0.dev.4"

@Morriar Morriar Nov 7, 2025 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KaanOzkan Can you add a comment in https://github.com/Shopify/spoom/blob/main/spoom.gemspec#L37 so we don't forget to update this line when we finally bump RBS? 🙏

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point #814

This branch was previously deployed

1 inactive deployment
production — e540ca9a Deployed Nov 21, 2025 by shopify-shipit[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants